package com.crm.dao.mapper.sys.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysAccountPermission;
import com.crm.model.entity.sys.permissionManagement.SysAccountPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysAccountPermissionMapper {
    long countByExample(SysAccountPermissionExample example);

    int deleteByExample(SysAccountPermissionExample example);

    int deleteByPrimaryKey(String accountPermissionId);

    int insert(SysAccountPermission record);

    int insertSelective(SysAccountPermission record);

    List<SysAccountPermission> selectByExample(SysAccountPermissionExample example);

    SysAccountPermission selectByPrimaryKey(String accountPermissionId);

    int updateByExampleSelective(@Param("record") SysAccountPermission record, @Param("example") SysAccountPermissionExample example);

    int updateByExample(@Param("record") SysAccountPermission record, @Param("example") SysAccountPermissionExample example);

    int updateByPrimaryKeySelective(SysAccountPermission record);

    int updateByPrimaryKey(SysAccountPermission record);
}